<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ include file="/common/taglibs.jsp"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<%@ page contentType="text/html;charset=UTF-8" %>
<head>
<meta http-equiv="Content-Type" content="text/html; charset= utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=7">
<title><s:property value="vot.voteTitle"/></title>
	<meta name="description" content="${site.siteShortName},${site.siteName}">
	<meta name="keywords" content="${site.siteShortName}">
	<link href="<s:property value="resource_url"/>resource/css/globe_c.css" rel="stylesheet" type="text/css" >
	<link href="<s:property value="resource_url"/>theme/<s:property value="site.siteTheme"/>/css/style.css" rel="stylesheet" type="text/css" >
	<script type="text/javascript" src="<s:property value="resource_url"/>resource/js/jquery-1.4.2.min.js"></script>
	<script type="text/javascript" src="<s:property value="resource_url"/>resource/js/jquery.cookie.js"></script>
	<script type="text/javascript" src="<s:property value="resource_url"/>theme/<s:property value="site.siteTheme"/>/js/common.js"></script>
	<script type="text/javascript" src="<s:property value="resource_url"/>theme/<s:property value="site.siteTheme"/>/js/weather.js"></script>
	<script type="text/javascript" src="<s:property value="resource_url"/>theme/<s:property value="site.siteTheme"/>/js/rotate.js"></script>
	<script type="text/javascript" src="<s:property value="resource_url"/>theme/<s:property value="site.siteTheme"/>/js/vote.js"></script>
	
	<!-- <script type="text/javascript" src="http://fw.qq.com/ipaddress" charset="gb2312"></script>  -->
	
	
<!--[if IE 6]>
	<link href="<s:property value="resource_url"/>theme/<s:property value="site.siteTheme"/>/css/ie6.css" rel="stylesheet" type="text/css" >
	<script type="text/javascript" src="<s:property value="resource_url"/>theme/<s:property value="site.siteTheme"/>/js/DD_belatedPNG.js" ></script>
	<script type="text/javascript">
	DD_belatedPNG.fix('*');
	</script>
<![endif]-->
</head>
<body id="i">
<div class="wrapper">
	<!-- header ediy by gl 2011-04-07 -->
	<div id="header">
		<div class="top_box">
			<div class="logininfo">欢迎&nbsp;&nbsp;请<a href="${ctx}/cms/front/user/user-login.action">登录</a> | <a href="${ctx}/front/esp/espadmin-registerfirststep.action?f=top">免费注册</a> | <a href="#">收藏</a></div>
		</div>
		<div class="header_box">
			<a href="index.html"  id="logo"><img src="<s:property value="upload_url"/><s:property value="site.logo"/>" title="山东省个体私营企业协会" /></a>
		</div>
		<ul id="nav" class="rtv">
		
		<s:set var="dom" value="site.siteDomain"></s:set>
			<s:iterator value="topCatList" status="st">
			<s:if test="catName=='首页'">
				<li><a href="<s:property value="#dom"/>" class="current" id="<s:property value="categoryId"/>"><s:property value="catName"/></a></li>
				<li class="f"></li>
			</s:if>
			<s:else>
				<li><a href="<s:property value="#dom"/>/category/<s:property value="catSimpleName"/>/index.html" class="" id="<s:property value="categoryId"/>"><s:property value="catName"/></a></li>
				<li class="f"></li>
			</s:else>
				
			</s:iterator>
		</ul>
		<div class="nav_b">
			<a href="http://open.baidu.com/special/time/"><span style="CURSOR: pointer;" class="date fl mr10" id="time"> </span></a>
			<div id="weather"  class="fl mt5"></div>
			<div class="searchbox">	    
				<form id="search_form_search_ftl" name="search_form_search_ftl" method="get" action="<s:property value="cms_url"/>/front/search/go.action" onSubmit="return checksearchFormSubmit();" >
					<input id="search_form_value" name="bean.keywords" type="text" class="i-t-s" />
					<input type="submit" class="i-b-s" value="&nbsp;" />
				</form>
			</div> 	
			<div class="notice fr" id="">
			<h2>
				<a href="<s:property value="site.siteDomain"/>/category/shouye/gg/list.html">公告：</a>
			</h2>
			<ul id="roll_">
				<s:iterator value="rollAnnounceList">
					<li style="CURSOR: pointer;" onclick="window.open ('<s:property value="site.siteDomain"/>/<s:property value="publishUrl"/>')"><s:property value="contentTitle"/></li>
				</s:iterator>
			</ul>
			</div>
			<span class="left"></span>
			<span class="right"></span>
		</div>
	</div>
	



	<!-- header end -->
	
	<!-- imain edit by jianggc 2011-04-07 -->
	<!-- 获得投票数据 -->
	<s:hidden name="arr" id="arr"></s:hidden>
	<s:hidden name="voteTitle" id="voteTitle"></s:hidden>
	<div class="main clearbox">
		<div class="w700 fl">
			<div class="box_5 mb10 mh820">
				<div class="crumb">您所在的位置：投票结果</div>
				<div class="tit_5"><span>投票结果</span></div>
				<div class="line_1 mlr20 p20 mb10">
					<h1 class="c024ca2 center f16"><s:property value="vot.voteTitle"/></h1>
					<div>当前用户：</div>
					<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<s:property value="vot.describe"/></p>
				</div>
				<div class="mlr20">
				已有<span style="color:red"><s:property value="optNum"/></span>人参与投票
					<div id="vote">

					</div>
				</div>
			</div>
		</div>
		<div class="fr w250">
				<div class="tit_8">
					<span class="fl ml10 s1">投票统计</span>
				</div>
				<div class="box_10 p10  mb10">
					<ul class="ul_3">
					<s:if test="voList==null||voList.size()==0">
						没有其他投票信息
					</s:if>
					<s:else>
						<s:iterator value="voList">
							<li><a onclick="voteLink('<s:property value="voteId"/>')" href="###"><s:property value="voteTitle"/></a></li>
						</s:iterator>
					</s:else>
					</ul>
				</div>
				<img src="<s:property value="resource_url"/>theme/<s:property value="site.siteTheme"/>/images/ad001.jpg" class="mb10" />
				<div class="tit_4">
					<span class="fl ml10 s1">网站服务</span>
				</div>
				<div class="box_6 p10 mb10">
					<div class="box_7">
						<a href="http://124.17.10.13/category/swzx/index.html" class="ico01"></a>
						<a href="#" class="ico02"></a>
						<a href="http://124.17.10.13/content/2011-08/19/ff80808131dcfc230131dfaa8f5002f8.html" class="ico03"></a>
						<a href="http://124.17.10.13/content/2011-08/19/ff80808131dcfc230131dfa9c95802ea.html" class="ico04"></a>
						<a href="http://124.17.10.13/content/2011-08/18/ff80808131dc97f20131dcb995b90024.html" class="ico05"></a>
						<a href="http://124.17.10.13/category/shouye/bszn/index.html " class="ico06"></a>
						<a href="http://124.17.10.13/category/mqzcfw/index.html" class="ico07"></a>
						<a href="http://124.17.10.13/category/hyzs/xhtj/index.html" class="ico08"></a>
					</div>
				</div>
		</div>
		<div class="clear"></div>
	</div>
	<!-- footer edit by jianggc 2011-04-07 -->
			<%@include file="footer.jsp" %>
</div>
<script type="text/javascript">
	$$.weather("440300","#weather");
	
	var arr = $("#arr").val();
	$$.vote("#vote",arr);
	
	var siteId = "40288359328a66b201328b0b03110006";
	
	//查看其他投票统计信息
	function voteLink(voteId){
		window.open("${ctx}/plugins/vote-lookresult.action?vote.voteId="+voteId+"&siteId="+siteId);
	}
	
	//轮播公告
	function slideLine(ul, delay, speed, lh) {
	    var slideBox = (typeof ul == 'string')?document.getElementById(ul):ul;
	    var delay = delay||1000, speed=speed||20, lh = lh||20;
	    var tid = null, pause = false;
	    var start = function() {tid=setInterval(slide, speed);}
	    var slide = function() {
	        if (pause) return;slideBox.scrollTop += 2;
	        if (slideBox.scrollTop % lh == 0) {
	            clearInterval(tid);
	            if(slideBox.getElementsByTagName('li')[0]==null){
	            return false;
	            }
	            slideBox.appendChild(slideBox.getElementsByTagName('li')[0]);
	            slideBox.scrollTop = 0;
	            setTimeout(start, delay);
	        }
	    }
	    slideBox.onmouseover=function(){pause=true;}
	    slideBox.onmouseout=function(){pause=false;}
	    setTimeout(start, delay);
	}
	try{
		slideLine('roll_', 2000, 20, 20);	
	}catch(e){
	}
	
	//显示时间
	var now=new Date();
	var time = now.getYear()+"年"+(now.getMonth()+1)+"月"+now.getDate()+"日"; 
	$("#time").html(time);
	
	//alert(IPData[0]);
	//alert(IPData[2]);
	//alert(IPData[3]);
	
</script>
</body>
</html>
